﻿using System;
using Dxr.Data.Mapping;

namespace Dxr.Data.MySql
{
    public class MySqlClassInfo : ClassInfo
    {
        public MySqlClassInfo(string @as, ClassNode classNode)
            : base(@as, classNode)
        {
        }

        protected override string GetTableName(ClassNode classNode, string asName)
        {
            return string.Format("{0} {1}", classNode.GetTableName(), asName);
        }
    }
}
